package com.cn.serverline.lineicp.productionLine.param;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 工步id参数
 *
 * @author Gmr
 * @since 2024/7/31
 */
@Data
public class ProcessStepsIdParam {

	@ApiModelProperty(value = "工序工步ID", required = true)
	@ChineseDescription("工序工步ID")
	@JsonSerialize(using= ToStringSerializer.class)
	@NotNull(message = "工序工步ID不能为空")
	private Long id;
}
